//
//  UICategoryUnit.h
//  Dolphin
//
//  Created by Matthew on 11-8-13.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "UIImageLayer.h"
@class UIImageLayer;

@interface UICategoryUnit : UIView
{
        UIImageLayer* innerImageView;
        UITextField *titleTextfield;
        UIView *bgView;
        NSString *albumPath;
        
        int borderWidth;
        int borderHeight;
        int fontSize;
    
        UITapGestureRecognizer *singleTapRecognizer;
}

@property(nonatomic,copy) NSString *albumPath;

- (void)   initUnit:(NSString *) link
                   title:(NSString *) inTitle
       albumPath:(NSString *) inAlbumPath
    borderWidth:(int) inWidth
   borderHeight:(int) inHeight
            fontSize:(int) inFontSize;

-(void) layoutAdjust;

- (void) reset;
@end
